package com.tocean.app.mapper.common;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.tocean.app.controller.request.paper.PaperSearchDto;
import com.tocean.app.entity.common.TestPaper;
import com.tocean.app.entity.common.WrongSet;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface WrongSetMapper extends BaseMapper<WrongSet> {

    IPage<WrongSet> getList(Page<?> page, @Param("p") PaperSearchDto paperSearchDto);
    void deleteByUTId(String uid,String tid);
    List<WrongSet> selectByUId(String uid);
}
